<template>
	<view :class="[primarySize()]">
		<view class="container bg-white">
			<view class="ptb40 plr30">
				<view class="fwb fs36 col3 lh50">{{singlepage.title}}</view>
				<view class="mt30 fs28 col3 lh48"><u-parse :content="singlepage.content"></u-parse></view>
			</view>
		</view>
	</view>
</template>

<script>
	const app = getApp();
	export default {
		data() {
			return {
				
				singlepage: {}
			}
		},
		onReady() {
			uni.setNavigationBarColor({
				frontColor: '#ffffff',
				backgroundColor: this.primaryColor()
			})
		},
		onLoad(options) {
			
			let type = options.type, page = this;
			this.$core.get({url: '/xilujob.common/single_page/tag/'+type,success(ret,response){
				page.singlepage = ret.data.page;
				uni.setNavigationBarTitle({
					title: ret.data.page.title
				})
			}});
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
